<%@ page contentType="text/html;charset=UTF-8"%>
<html>
<head>
<title>회원가입</title>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../js/script.js"></script>
</head>
<body onLoad="regForm.id.focus()">
	<br>
	<br>
	<table align="center" border="0" cellspacing="0" cellpadding="5">
		<tr>
			<td align="center" valign="middle" bgcolor="#FFFFCC">
				<table border="1" cellspacing="0" cellpadding="2" align="center">
					<form name="regForm" method="post" action="registerProc.jsp">
						<tr align="center" bgcolor="#8899aa">
							<td colspan="2"><font color="#FFFFFF"><b>회원 가입</b></font></td>
						</tr>
						<tr>
							<td width="16%">아이디</td>
							<td width="57%"><input type="text" name="id" size="15">
								<input type="button" value="ID중복확인"
								onClick="idCheck(this.form.id.value)"></td>
						</tr>
						<tr>
							<td>패스워드</td>
							<td><input type="password" name="passwd" size="15">
							</td>
						</tr>
						<tr>
							<td>패스워드 확인</td>
							<td><input type="password" name="repasswd" size="15">
							</td>
						</tr>
						<tr>
							<td>이름</td>
							<td><input type="text" name="name" size="15"></td>
						</tr>
						<tr>
							<td>주민등록번호</td>
							<td><input type="text" name="mem_num1" size="6"
								maxlength="6"
								onKeyUp="if(this.value.length==6)regForm.mem_num2.focus()">-
								<input type="text" name="mem_num2" size="7" maxlength="7"
								onKeyUp="if(this.value.length==7)regForm.email.focus();"></td>
						</tr>
						<tr>
							<td>이메일</td>
							<td><input type="text" name="email" size="27"></td>
						</tr>
						<tr>
							<td>전화번호</td>
							<td><input type="text" name="phone" size="20"></td>
						</tr>
						<tr>
							<td>우편번호</td>
							<td><input type="text" name="zipcode" size="7"> <input
								type="button" value="우편번호찾기" onClick="zipCheck()"></td>
						</tr>
						<tr>
							<td>주소</td>
							<td><input type="text" name="address" size="70"></td>
						</tr>
						<tr>
							<td>직업</td>
							<td><select name=job>
									<option value="0">선택하세요.
									<option value="회사원">회사원
									<option value="학생">학생
									<option value="자영업">자영업
									<option value="주부">주부
									<option value="기타">기타
							</select></td>
						</tr>
						<tr>
							<td>직급</td>
							<td>
								<input type="radio" name="team_grant"  value="1">팀장
								<input type="radio" name="team_grant"  value="0" checked="checked">팀원
							</td>
						</tr>
						<tr>
							<td>부서명</td>
							<td><select name="dept_name">
									<option value="0">선택하세요.</option>
									<option value="개발1팀">개발1팀</option>
									<option value="개발2팀">개발2팀</option>
									<option value="개발3팀">개발3팀</option>
									<option value="개발4팀">개발4팀</option>
									<option value="개발5팀">개발5팀</option>
							</select></td>
						</tr>
						<tr>
							<td colspan="2" align="center"><input type="button"
								value="회원가입" onclick="inputCheck()"> &nbsp; &nbsp;
								&nbsp; &nbsp; &nbsp; &nbsp; <input type="reset" value="다시쓰기">
							</td>
						</tr>
					</form>
				</table>
			</td>
		</tr>
	</table>
</body>
</html>
